package com.ruoyi.evalution.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评测人员对象 lab_evalution_topic_task
 * 
 * @author winner pan
 * @date 2022-08-03
 */
public class LabEvalutionTopicTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评测任务ID */
    private Long evalutionTaskId;

    /** 评测编号 */
    @Excel(name = "评测编号")
    private Long instanceId;
    /** 名称 */
    @Excel(name = "名称")
    private String evalutionName;
    
    private LabEvalutionTopicTask parent;
    
    public LabEvalutionTopicTask getParent() {
		return parent;
	}

	public void setParent(LabEvalutionTopicTask parent) {
		this.parent = parent;
	}

	public String getEvalutionName() {
		return evalutionName;
	}

	public void setEvalutionName(String evalutionName) {
		this.evalutionName = evalutionName;
	}

	/** 用户工号 */
    private String userName;

    /** 用户姓名 */
    private String nickName;

    /** 实验中心ID */
    @Excel(name = "实验中心ID")
    private Long orgId;

    /** 实验中心名称 */
    @Excel(name = "实验中心名称")
    private String orgName;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;
    
    public String getStatusName(){
    	if(this.status==null || this.status==0){
    		return "编辑中";
    	}
    	return "已提交";
    }

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 实验室利用率得分 */
    @Excel(name = "实验室利用率得分")
    private BigDecimal labUsingScore;

    /** 设备利用率得分 */
    @Excel(name = "设备利用率得分")
    private BigDecimal devicesUsingScore;

    /** 大型设备利用率得分 */
    @Excel(name = "大型设备利用率得分")
    private BigDecimal bigDeviceScore;

    /** 实验室运行得分 */
    @Excel(name = "实验室运行得分")
    private BigDecimal labRuningScore;

    /** 资料上报得分 */
    @Excel(name = "资料上报得分")
    private BigDecimal dataReportScore;

    /** 团队建设得分 */
    @Excel(name = "团队建设得分")
    private BigDecimal teamBuildScore;

    /** 安全得分 */
    @Excel(name = "安全得分")
    private BigDecimal securityScore;

    /** 信息化假设得分 */
    @Excel(name = "信息化假设得分")
    private BigDecimal informationScore;

    /** 教学得分 */
    @Excel(name = "教学得分")
    private BigDecimal teachingScore;

    /** 开放项目得分 */
    @Excel(name = "开放项目得分")
    private BigDecimal openProjectScore;

    /** 队伍建设成果得分 */
    @Excel(name = "队伍建设成果得分")
    private BigDecimal teamResultScore;

    /** 学校企业共建得分 */
    @Excel(name = "学校企业共建得分")
    private BigDecimal schoolEnterpriseScore;

    /** 教学资源得分 */
    @Excel(name = "教学资源得分")
    private BigDecimal teachingResourceScore;

    /** 对外交流得分 */
    @Excel(name = "对外交流得分")
    private BigDecimal foreignExchangesScore;

    /** 打分类型 */
    private Integer scoreType;

    public void setEvalutionTaskId(Long evalutionTaskId) 
    {
        this.evalutionTaskId = evalutionTaskId;
    }

    public Long getEvalutionTaskId() 
    {
        return evalutionTaskId;
    }
    public void setInstanceId(Long instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setOrgName(String orgName) 
    {
        this.orgName = orgName;
    }

    public String getOrgName() 
    {
        return orgName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSubmitTime(Date submitTime) 
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime() 
    {
        return submitTime;
    }
    public void setLabUsingScore(BigDecimal labUsingScore) 
    {
        this.labUsingScore = labUsingScore;
    }

    public BigDecimal getLabUsingScore() 
    {
        return labUsingScore;
    }
    public void setDevicesUsingScore(BigDecimal devicesUsingScore) 
    {
        this.devicesUsingScore = devicesUsingScore;
    }

    public BigDecimal getDevicesUsingScore() 
    {
        return devicesUsingScore;
    }
    public void setBigDeviceScore(BigDecimal bigDeviceScore) 
    {
        this.bigDeviceScore = bigDeviceScore;
    }

    public BigDecimal getBigDeviceScore() 
    {
        return bigDeviceScore;
    }
    public void setLabRuningScore(BigDecimal labRuningScore) 
    {
        this.labRuningScore = labRuningScore;
    }

    public BigDecimal getLabRuningScore() 
    {
        return labRuningScore;
    }
    public void setDataReportScore(BigDecimal dataReportScore) 
    {
        this.dataReportScore = dataReportScore;
    }

    public BigDecimal getDataReportScore() 
    {
        return dataReportScore;
    }
    public void setTeamBuildScore(BigDecimal teamBuildScore) 
    {
        this.teamBuildScore = teamBuildScore;
    }

    public BigDecimal getTeamBuildScore() 
    {
        return teamBuildScore;
    }
    public void setSecurityScore(BigDecimal securityScore) 
    {
        this.securityScore = securityScore;
    }

    public BigDecimal getSecurityScore() 
    {
        return securityScore;
    }
    public void setInformationScore(BigDecimal informationScore) 
    {
        this.informationScore = informationScore;
    }

    public BigDecimal getInformationScore() 
    {
        return informationScore;
    }
    public void setTeachingScore(BigDecimal teachingScore) 
    {
        this.teachingScore = teachingScore;
    }

    public BigDecimal getTeachingScore() 
    {
        return teachingScore;
    }
    public void setOpenProjectScore(BigDecimal openProjectScore) 
    {
        this.openProjectScore = openProjectScore;
    }

    public BigDecimal getOpenProjectScore() 
    {
        return openProjectScore;
    }
    public void setTeamResultScore(BigDecimal teamResultScore) 
    {
        this.teamResultScore = teamResultScore;
    }

    public BigDecimal getTeamResultScore() 
    {
        return teamResultScore;
    }
    public void setSchoolEnterpriseScore(BigDecimal schoolEnterpriseScore) 
    {
        this.schoolEnterpriseScore = schoolEnterpriseScore;
    }

    public BigDecimal getSchoolEnterpriseScore() 
    {
        return schoolEnterpriseScore;
    }
    public void setTeachingResourceScore(BigDecimal teachingResourceScore) 
    {
        this.teachingResourceScore = teachingResourceScore;
    }

    public BigDecimal getTeachingResourceScore() 
    {
        return teachingResourceScore;
    }
    public void setForeignExchangesScore(BigDecimal foreignExchangesScore) 
    {
        this.foreignExchangesScore = foreignExchangesScore;
    }

    public BigDecimal getForeignExchangesScore() 
    {
        return foreignExchangesScore;
    }
    public void setScoreType(Integer scoreType) 
    {
        this.scoreType = scoreType;
    }

    public Integer getScoreType() 
    {
        return scoreType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evalutionTaskId", getEvalutionTaskId())
            .append("instanceId", getInstanceId())
            .append("userName", getUserName())
            .append("nickName", getNickName())
            .append("orgId", getOrgId())
            .append("orgName", getOrgName())
            .append("status", getStatus())
            .append("submitTime", getSubmitTime())
            .append("labUsingScore", getLabUsingScore())
            .append("devicesUsingScore", getDevicesUsingScore())
            .append("bigDeviceScore", getBigDeviceScore())
            .append("labRuningScore", getLabRuningScore())
            .append("dataReportScore", getDataReportScore())
            .append("teamBuildScore", getTeamBuildScore())
            .append("securityScore", getSecurityScore())
            .append("informationScore", getInformationScore())
            .append("teachingScore", getTeachingScore())
            .append("openProjectScore", getOpenProjectScore())
            .append("teamResultScore", getTeamResultScore())
            .append("schoolEnterpriseScore", getSchoolEnterpriseScore())
            .append("teachingResourceScore", getTeachingResourceScore())
            .append("foreignExchangesScore", getForeignExchangesScore())
            .append("scoreType", getScoreType())
            .toString();
    }
}
